package com.awccis.driver.model;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 历史缴费bean
 * @author zxy
 */
@Component
@Qualifier("payRecord")
public class PayRecord {

  private long payId;
  private long driverId;
  private double payCost;
  private Date payTime;
  private String payWeek;
  private long payLow20Weeks;
  private double payNeedCost;
  private String driverName;
  private String driverPhone;
  private long payIsPayed;
  private long payWeekOrder;
  private long payOrderCount;

  public long getPayId() {
    return payId;
  }

  public void setPayId(long payId) {
    this.payId = payId;
  }

  public long getDriverId() {
    return driverId;
  }

  public void setDriverId(long driverId) {
    this.driverId = driverId;
  }

  public double getPayCost() {
    return payCost;
  }

  public void setPayCost(double payCost) {
    this.payCost = payCost;
  }

  public Date getPayTime() {
    return payTime;
  }

  public void setPayTime(Date payTime) {
    this.payTime = payTime;
  }

  public String getPayWeek() {
    return payWeek;
  }

  public void setPayWeek(String payWeek) {
    this.payWeek = payWeek;
  }

  public long getPayLow20Weeks() {
    return payLow20Weeks;
  }

  public void setPayLow20Weeks(long payLow20Weeks) {
    this.payLow20Weeks = payLow20Weeks;
  }

  public double getPayNeedCost() {
    return payNeedCost;
  }

  public void setPayNeedCost(double payNeedCost) {
    this.payNeedCost = payNeedCost;
  }

  public String getDriverName() {
    return driverName;
  }

  public void setDriverName(String driverName) {
    this.driverName = driverName;
  }

  public String getDriverPhone() {
    return driverPhone;
  }

  public void setDriverPhone(String driverPhone) {
    this.driverPhone = driverPhone;
  }

  public long getPayIsPayed() {
    return payIsPayed;
  }

  public void setPayIsPayed(long payIsPayed) {
    this.payIsPayed = payIsPayed;
  }

  public long getPayWeekOrder() {
    return payWeekOrder;
  }

  public void setPayWeekOrder(long payWeekOrder) {
    this.payWeekOrder = payWeekOrder;
  }

  public long getPayOrderCount() {
    return payOrderCount;
  }

  public void setPayOrderCount(long payOrderCount) {
    this.payOrderCount = payOrderCount;
  }

  @Override
  public String toString() {
    return "Payrecord{" +
            "payId=" + payId +
            ", driverId=" + driverId +
            ", payCost=" + payCost +
            ", payTime=" + payTime +
            ", payWeek='" + payWeek + '\'' +
            ", payLow20Weeks=" + payLow20Weeks +
            ", payNeedCost=" + payNeedCost +
            ", driverName='" + driverName + '\'' +
            ", driverPhone='" + driverPhone + '\'' +
            ", payIsPayed=" + payIsPayed +
            ", payWeekOrder=" + payWeekOrder +
            ", payOrderCount=" + payOrderCount +
            '}';
  }
}
